/**
 * Copyright 20013-2013 Brin.com
 * All rights reserved.
 * 
 * @project
 * @author Brin
 * @version 1.0
 * @data 2013-06-18
 */
package com.brin.code.dao;

import java.util.List;

import com.brin.code.model.pojo.Sample;
import com.brin.code.model.vo.SampleVO;

/**
 * 
 * @author Brin
 * @description SampleDao层
 *
 */
public interface SampleMapper {

	/**
	 * 添加Sample
	 * @param sample
	 * @return
	 */
	public int addSample(Sample sample);
	
	/**
	 * 查询所有的Sample
	 * @param sample
	 * @return
	 */
	public List<SampleVO> querySampleList(Sample sample);
	
	/**
	 * 查询所有Sample总数量
	 * @return
	 */
	public int queryCountSample();
	
	/**
	 * 通过id查询Sample
	 * @param sample
	 * @return
	 */
	public SampleVO querySampleById(int id);
}
